/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.jrk_verwaltung.security.login.view.actions;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import de.jrk_verwaltung.security.login.CLoginController;

/**
 * 
 * @author JRK-FO
 */
public class CCancelLoginAction extends AbstractAction {

    private static final long serialVersionUID = 1L;
    private CLoginController loginController;

    public CCancelLoginAction(CLoginController loginController) {
        this.loginController = loginController;
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        loginController.cancelLogin();
    }

}
